<%-- 
    Document   : Search
    Created on : 13.05.2011, 22:19:50
    Author     : ain
--%>

<%@page import="java.util.Iterator"%>
<%@page import="unc.pds.data.Consts"%>
<%@page import="java.util.Collection"%>
<%@page import="unc.pds.seen.SearchEngineFactory"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Search Page</title>
    </head>
    <body>
        <%
        unc.pds.seen.PDSSerchEngine se = SearchEngineFactory.getEngine();
        Collection keys = se.getByField(Consts.OBJECT_TYPE__USER, Consts.ATTR__USER_NICKNAME, "a");
        Iterator ki =keys.iterator();
        while (ki.hasNext()){
            out.println(ki.next()+"    ");
            }
        %>
    </body>
</html>
